package cn.zzuli.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import cn.zzuli.common.utils.PageUtils;
import cn.zzuli.mall.product.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * ??Ʒ???????
 *
 * @author ç»¯è²ä¸åè¶
 * @email 17719158821@163.com
 * @date 2021-03-11 18:25:22
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> listWithTree();

    void removeMenuByIds(List<Long> asList);

//    找到catelogId的完整路径  父路径/子路径/孙子路径
    Long[] findCatelogPath(Long catelogId);

    void updateCascade(CategoryEntity category);
}

